<template>
  <div class="layout">
    <router-view />
    <van-tabbar route safe-area-inset-bottom fixed class="tabbar">
      <van-tabbar-item replace to="/home" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item replace to="/order" icon="balance-list-o">订单</van-tabbar-item>
      <van-tabbar-item replace to="/mine" icon="vip-card-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "layout"
};
</script>

<style scoped>
.tabbar {
  border-top: 1px solid #cdcdcd;
}
</style>